﻿@{
    string lang = (Session["Language"] == null) ? "vi" : Session["Language"].ToString();
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <meta name="description" content="Default Description">
    <meta name="keywords" content="Magento, Varien, E-commerce">
    <meta name="robots" content="INDEX,FOLLOW">
    <link rel="icon" href="@Url.Content("~/favicon.ico")" type="image/x-icon" />
    <link rel="shortcut icon" href="@Url.Content("~/favicon.ico")" type="image/x-icon" />
    <link href="http://fonts.googleapis.com/css?family=Oswald" rel="stylesheet" type="text/css" />
    <link href="http://fonts.googleapis.com/css?family=Mr+Dafoe" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/CSS/styles.css")" media="all" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/CSS/widgets.css")" media="all" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/CSS/print.css")" media="print">
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/CSS/themes/default/default.css")" media="screen" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/CSS/themes/bar/bar.css")" media="screen" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/CSS/nivo-slider.css")" media="screen" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/CSS/pro_dropdown_3.css")"/>
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/CSS/jquery-ui.css")"/>
    <link href="../../CSS/orbit-1.2.3.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/jquery.simplyscroll.css")" media="all" />


    <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDXpFnQCWEwT0if5ovbSyCpVqUhnvyz11A&sensor=false"></script>
    <script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/scripts.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.prettyPhoto.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.easing.1.3.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.idtabs.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.pagination.js")" ></script>
    <script src="../../Scripts/jquery.validate.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.orbit-1.2.3.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.simplyscroll.js")" ></script>
    
    <script type="text/javascript">
        $(window).load(function () {
            $('#featured').orbit();
        });
	</script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#trian_scroller").simplyScroll();
        });
    </script>
    <script type="text/javascript">
        function setLang() {
            var lang = $("#lang").val();
            $.ajax({
                cache: false,
                type: "POST",
                data: "{lang:'" + lang + "'}",
                url: '@Url.Action("setLanguage", "Home")',
                contentType: "application/json; charset=utf-8",
                dataType: "text",
                success: function (result) {
                    if (result == 'True') {
                        location.reload();
                    }
                },
                error: function () {
                    alert("Lỗi load image");
                }
            });
        }

        function setLocation(url) {
            window.location.href = url;
        }
    </script>
  
    @RenderSection("script_arena",false)
</head>
<body class=" cms-index-index cms-home">
@*<object width="1" height="1"><param name="movie" value="http://www.nhaccuatui.com/m/dWoKx4yspKRP" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="flashvars" value="&autostart=true" /><embed src="http://www.nhaccuatui.com/m/dWoKx4yspKRP" quality="high" wmode="transparent" type="application/x-shockwave-flash" flashvars="&autostart=true" width="1" height="1"></embed></object>*@
    <script type="text/javascript">        
    //<!--
        $(document).ready(function () {
            $(".w2bslikebox").hover(function () { 
                $(this).stop().animate({ right: "0" }, "medium"); }, function () { $(this).stop().animate({ right: "-305" }, "medium"); },
500);
        }); 
    //--> </script>
    <style type="text/css">
    
    </style>
    <div class="w2bslikebox" style="">
        <div><iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fdatnuocviet.com.vn&amp;width=300&amp;height=290&amp;show_faces=true&amp;colorscheme=light&amp;stream=false&amp;border_color&amp;header=true" scrolling="no" frameborder="0" style="background-color: white;border:none; overflow:hidden; width:300px; height:290px;" allowTransparency="true"></iframe></div>
    </div>
    @RenderBody()
    <div class="wrapper">
        <div id="popup_content" style="display: none;">
            <div style="float: right; padding: 10px;">
                <a href="#" id="baner_close">Close</a>
            </div>
            <div style="clear: both;">
            </div>
            <center>
                Here you can show anything you want
                <br />
                <strong>Use SWF, play videos!</strong><br />
            </center>
            <object width="100%" height="100%">
                <param name="movie" value="Envato Logos Pro Still.swf">
                <embed src="Envato Logos Pro Still.swf" width="100%" height="100%"></embed>
            </object>
        </div>
        <noscript>
            &lt;div class="noscript"&gt; &lt;div class="noscript-inner"&gt; &lt;p&gt;&lt;strong&gt;JavaScript
            seem to be disabled in your browser.&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;You must
            have JavaScript enabled in your browser to utilize the functionality of this website.&lt;/p&gt;
            &lt;/div&gt; &lt;/div&gt;
        </noscript>
        <!--Page ----------------------------------------------------------------------------------------------------------------------------------------->
        <div class="page">
            <div class="header-container">
                <div class="header">
                    <div class="quick-access">
                        <p class="welcome-msg">
                            Hotline : 0909.024.567</p>
                    </div>
                    <h1 class="logo">
                        <a href="#" title="Đất nước việt" class="logo"><embed src="../../images/logo.swf" quality="high" type="application/x-shockwave-flash" wmode="transparent" width="465" height="74" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always"></embed></a></h1>
                    
                    <form id="search_mini_form" action="@Url.Action("SearchTour", "tours")" method="get">
                    <div class="form-search">
                        <label for="search">Search:</label>
                        <input id="keyword" type="text" name="keyword" value="" class="input-text" autocomplete="off">
                        <button type="submit" title="Search" class="button" style="top: 7px; z-index:999999">
                            <span><span>Search</span></span></button>
                        <div id="search_autocomplete" class="search-autocomplete" style="display: none;">
                        </div>
                        <script type="text/javascript">
                            $(function () {
                                $("#keyword").autocomplete({
                                    source: function (request, response) {
                                        $.ajax({
                                            url: '@Url.Action("FindToursNames", "Tours")', type: "POST", dataType: "json",
                                            data: { searchText: request.term, maxResults: 5},
                                            success: function (data) {
                                                response($.map(data, function (item) {
                                                    return { label: item, value: item }
                                                }))
                                            }
                                        })
                                    }
                                });
                            });
                            </script>
                    </div>
                    </form>
                    <div class="clear">
                    </div>
                    <div class="block block-currency">
                        <div class="block-title">
                            <strong><span>@DatNuocViet.Ultility.Helper.Label("text_ngonngu")</span></strong>
                        </div>
                        <div class="block-content">
                            <select id="lang" name="lang" onchange="setLang()">
                                @if (Session["Language"] == null)
                                {
                                    Session["Language"] = "vi";
                                }
                                <option value="vi" @(Session["language"].ToString() == "vi"?"selected":"")>Tiếng Việt</option>
                                <option value="en" @(Session["language"].ToString() == "en"?"selected":"")>English</option>
                                
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <!-- Menu ------------------------------------------------------------------------------------------------------------------------------------>
            <div class="nav-container">
                <ul id="nav">
                    <li class="top"><a href="@Url.Action("Index", "Home")" class="top_link"><span>@DatNuocViet.Ultility.Helper.Label("Menu_trangchu")</span></a> </li>
                    <li class="top"><a href="@Url.Action("Intro", "Home")" class="top_link"><span>@DatNuocViet.Ultility.Helper.Label("Menu_gioithieu")</span></a> </li>
                    <li class="top"><a href="#" class="top_link"><span class="down">@DatNuocViet.Ultility.Helper.Label("Menu_tour")</span></a>
                        <ul class="sub">
                        @foreach (var item in DatNuocViet.Models.ToursDAO.getTourType())
                        {
                            <li><a href="@Url.Action("Index", "Tours", new {id = item.Id })"><span>@if (lang == "en") { @Html.Raw(item.TourTypeEn); } else { @Html.Raw(item.TourTypeVn); }</span></a> </li>
                        }
                        </ul>
                    </li>
                    <li class="top"><a href="#" class="top_link"><span>@DatNuocViet.Ultility.Helper.Label("Menu_dulich360")</span></a> 
                        <ul class="sub" style="margin-top:-5px;">
                        @foreach (var item in DatNuocViet.Models.NewsDAO.GetNewsType())
                        {
                            <li><a href="@Url.Action("Index", "News", new {id = item.Id })"><span>@if (lang == "en") { @Html.Raw(item.NewsTypeEn); } else { @Html.Raw(item.NewsTypeVn); }</span></a> </li>
                        }
                        </ul>
                    </li>
                    <li class="top"><a href="@Url.Action("Event", "Home")" class="top_link"><span>@DatNuocViet.Ultility.Helper.Label("Menu_dichvu")</span></a> </li>
                    <li class="top"><a href="@Url.Action("index", "Gratitude")" class="top_link"><span>@DatNuocViet.Ultility.Helper.Label("trian")</span></a> </li>
                    <li class="top"><a href="@Url.Action("index", "Contact")" class="top_link"><span>@DatNuocViet.Ultility.Helper.Label("Menu_lienhe")</span></a> </li>                    
                </ul>
            </div>
            <!-- slider ---------------------------------------------------------------------------------------------------------------------------------->
            <div class="slider-wrapper theme-default">
                @*<div id="slider" class="nivoSlider">
                    <img src="../../images/banner.jpg" data-thumb="images/banner.jpg" alt="" data-transition="slideInLeft" />
                    <a href="http://dev7studios.com">
                        <img src="../../images/sc-vietnam-b1.jpg" data-thumb="images/sc-vietnam-b1.jpg" alt=""
                            title="Thành phố Hồ Chí Minh, Việt Nam" /></a>
                    <img src="../../images/halongbay.jpg" data-thumb="images/halongbay.jpg" alt="" data-transition="slideInLeft"
                        title="Vịnh Hạ Long - Kỳ quan thiên nhiên thế giới" />
                    <img src="../../images/nhatrang.jpg" data-thumb="images/nhatrang.jpg" alt="" title="Nha Trang, Khánh Hòa" />
                </div>*@
                <div id="slider" class="nivoSlider">
                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="980" height="330" id="banner.swf" align="middle">
	                <param name="allowScriptAccess" value="sameDomain">
	                <param name="movie" value="banner.swf">
	                <param name="quality" value="high">
	                <param name="bgcolor" value="#ffffff">
	                <param name="menu" value="false">
	                <embed src="../../images/banner.swf" quality="high" bgcolor="#ffffff" width="960" height="304" name="banner.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
                </object>
                </div>
            </div>
            @*<script type="text/javascript" src="@Url.Content("~/Scripts/jquery.nivo.slider.js")"></script>
            <script type="text/javascript">
                $(document).ready(function () {
                    $('#slider').nivoSlider();
                    //$('#slider').data('nivoslider').stop(); //Stop the Slider
                });
            </script>*@
            <!-- Tin nổi bật ------------------------------------------------------------------------------------------------------------------------------>
            @RenderSection("Featured_tour",false)
            <!-- Tours ------------------------------------------------------------------------------------------------------------------------------------>
            <div class="main-container col2-right-layout">
                <div class="main">
                    <!-- Cột chính ------------------------------------------------------------------------------------------------------------------------>
                    <div class="col-main">
                        <div class="std">
                            <div class="clear">
                            </div>
                        </div>
                        
                        @RenderSection("tourArea1",false)

                        <!-- ======================================= TIN TUC ======================================= -->

                        @RenderSection("news_area", false)

                        <!-- ======================================= /TIN TUC ======================================= -->

                    </div>
                    <!-- Cột phải ------------------------------------------------------------------------------------------------------------------------->
                    <div class="col-right sidebar">
                        <div class="block block-cart">
                            
                            
                        <div class="block block-list block-compare">
                            <div class="block-title">
                                <strong><span>Tìm kiếm tour</span></strong>
                            </div>
                            <div class="block-content search" style="padding:10px 15px 15px 15px !important">
                                <form action="@Url.Action("SearchTour", "tours")" class="searchform">
                                <div class="input-box" style="margin-bottom:10px">
                                    <input type="text" id="keyword" name="keyword" placeholder="Nhập từ khóa">
                                </div>
                                <div class="input-box" style="margin-bottom:10px">
                                    <input type="text" id="min" name="min" placeholder="Nhập giá tối thiểu">
                                </div>
                                <div class="input-box" style="margin-bottom:10px">
                                    <input type="text" id="max" name="max" placeholder="Nhập giá tối đa">
                                </div>
                                <div class="input-box" style="margin-bottom:10px">
                                    <input type="checkbox" name="tourtype" value="1" /><span><b> Trong nước</b></span>
                                    &nbsp;
                                    <input type="checkbox" name="tourtype" value="2" /><span><b> Ngoài nước</b></span>
                                </div>
                                <button type="submit" title="Tìm kiếm tour" class="button btn-cart">
                                    <span><span>Tìm kiếm</span></span></button>
                                </form>
                            </div>  
                        </div>

                        <div style="margin-bottom: 15px">
                                <img src="../../images/hotline.jpg" width="230" /></div>

                            <div class="block-title">
                                <strong><span>Hỗ trợ</span></strong>
                            </div>
                            <div class="block-content" style="padding:10px 24px 15px 24px !important">
                                <table width="100%" border="0">
                                    <tr>
                                        <td>
                                            <p style="margin:5px 0 5px 0;"><b>Phòng Kinh Doanh:</b></p>
                                            <a href="ymsgr:sendim?nguyensong1111">
                                                <img border="0" style="" src="http://opi.yahoo.com/online?u=nguyensong1111&amp;m=g&amp;t=2">
                                            </a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="margin:5px 0 5px 0;"><b>Tour trong nước:</b></p>
                                            <a href="ymsgr:sendim?thaobui_travel">
                                                <img border="0" style="" src="http://opi.yahoo.com/online?u=thaobui_travel&amp;m=g&amp;t=2">
                                            </a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p style="margin:5px 0 5px 0;"><b>Tour nước ngoài:</b></p>
                                            <a href="ymsgr:sendim?nguyensong1111">
                                                <img border="0" style="" src="http://opi.yahoo.com/online?u=nguyensong1111&amp;m=g&amp;t=2">
                                            </a>
                                        </td>
                                    </tr>

                                </table>
                            </div>
                        </div>

                        <div class="block block-list block-compare">
                            <div class="block-content1">
                                <table width="100%" border="0">
                                    <tr>
                                        <td width="70px">
                                            <a href="ymsgr:sendim?thaobui_travel">
                                            <img src="../../images/maybay.png" width="60" height="60" vspace="5" />
                                            </a>
                                        </td>
                                        <td>
                                            <p style="margin-top: 20px; font-size: 150%">
                                                <a href="ymsgr:sendim?thaobui_travel">Đặt vé máy bay</a></p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a href="@Url.Action("services","home")"><img src="../../images/xedulich.png" width="60" height="60" vspace="5" /></a>
                                        </td>
                                        <td>
                                            <p style="margin-top: 20px; font-size: 150%">
                                                <a href="@Url.Action("services","home")">Xe du lịch</a></p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a href="ymsgr:sendim?minhkhuongdnv">
                                                <img src="../../images/khachsan.png" width="60" height="60" vspace="5" />
                                            </a>
                                        </td>
                                        <td>
                                            <p style="margin-top: 20px; font-size: 150%">
                                                <a href="ymsgr:sendim?minhkhuongdnv">Đặt khách sạn</a></p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <a href="ymsgr:sendim?thaobui_travel"><img src="../../images/xelua.png" width="60" height="60" vspace="5" /></a>
                                        </td>
                                        <td>
                                            <p style="margin-top: 20px; font-size: 150%">
                                                <a href="ymsgr:sendim?thaobui_travel">Đặt vé Xe lửa</a></p>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>

                        <div class="block block-list block-compare">
                            <div class="block-title">
                                <strong><span>Khoảng khắc</span></strong>
                            </div>
                            <div id="featured"> 
                                @foreach (var item in DatNuocViet.Models.WebResourceDAO.getgallery())
                                {
                                        <img src="@item.Image"  width="230px" height="220px"/>
                                }
                                @*<a href=""><img src="../../images/dummy-images/overflow.jpg" width="230px" height="220px"/></a>
                                <img src="../../images/dummy-images/captions.jpg"  width="230px" height="220px"/>
                                <img src="../../images/dummy-images/features.jpg"  width="230px" height="220px"/>*@
                            </div>
                        </div>

                        <div class="block block-list block-compare">
                            <div class="block-title">
                                <strong><span>@DatNuocViet.Ultility.Helper.Label("Menu_dulich360") </span></strong>
                            </div>
                            <div class="block-content" style="padding:5px !important">
                                @{Html.RenderAction("dulich360", "home");}
                            </div>
                        </div>

                        <div class="block block-list block-compare">
                            <div class="block-title">
                                <strong><span>Video CLips </span></strong>
                            </div>
                            @{Html.RenderAction("videoclips", "home");}
                        </div>
                        
                        <div class="block block-subscribe">
                            <div class="block-title">
                                <strong><span>Newsletter</span></strong>
                            </div>
                            @*begin mail*@
                            <form action="@Url.Content("~/Home/SubscribeEmail")"
                            method="post" id="newsletter-validate-detail">
                            <div class="block-content">
                                <div class="form-subscribe-header">
                                    Sign up for our newsletter</div>
                                <label for="newsletter">
                                    @DatNuocViet.Ultility.Helper.Label("text_nhantinmoi")</label>
                                <div class="input-box">
                                    <input type="text" id="email" name="email" id="newsletter" title="Sign up for our newsletter"
                                        class="input-text required-entry validate-email">
                                </div>
                                <div class="actions">
                                    <button type="button" title="Subscribe" class="button" onclick="SubscribeEmail();">
                                        <span><span>Subscribe</span></span></button>
                                </div>
                            </div>
                            </form>
                            <script type="text/javascript">
                                function SubscribeEmail() {
                                    var email = $("#email").val();
                                    $.ajax({
                                        cache: false,
                                        type: "POST",
                                        data: "{Email:'" + email + "'}",
                                        url: '@Url.Action("SubscribeEmail", "Home")',
                                        contentType: "application/json; charset=utf-8",
                                        dataType: "text",
                                        success: function (result) {
                                            alert(result);
                                        },
                                        error: function () {
                                            alert("error");
                                        }
                                    });
                                }
                            </script>
                            @*end*@
                            <script type="text/javascript">
                                //<![CDATA[
                                var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
                                //]]>
                            </script>
                        </div>

                        <div class="block block-list block-compare">
                            <div class="block-title">
                                <strong><span>Tri ân khách hàng </span></strong>
                            </div>
                            @Html.Action("partner","home")
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--Footer ---------------------------------------------------------------------------------------------------------------------------------------->
        <div class="footer-container">
            <div class="footer">
                <div style="float: left; text-align: left !important">
                    <p style="text-align: left">
                        © copyright 2012 công ty TNHH DV Đất Nước Việt. All Right Reserved</p>
                    
                    <p style="text-align: left">
                        Giấy phép lữ hành quốc tế số: GP79-042/2009/TCDL-GP-LHQT</p>
                    <p style="text-align: left">
                        Số đăng ký kinh doanh: 0305448 565 do Sở kế hoạch và đầu tư TPHCM cấp</p>
                    <p style="text-align: left">
                    114 Võ Văn Kiệt, phường Nguyễn Thái Bình, quận I, Tp. Hồ Chí Minh
                    </p>
                    <p style="text-align: left">
                        Email: datnuocviettours@hcm.vnn.vn</p>
                    <p style="text-align: left"><a href="http://vwsol.com" target="_blank" title="Thiết kết bởi Vietwing Solution">Thiết kết bởi Vietwing Solution</a></p>
                    
                    <p style="text-align: left"><a href='http://www.hit-counts.com'><img src='http://www.hit-counts.com/counter.php?t=MTIxMDI4Ng==' border='0' alt='Web Counter'></a><BR></p>
                    
                </div>
                <div class="fright">
                    <img src="../../images/paypalpayment.png" width="150px" />
                </div>
            </div>
        </div>
    </div>
</body>
</html>
